/* 多个相通实例共用一份锁 */
class EventLock {
  lockStatus = false

  lock() {
    this.lockStatus = true
  }

  unLock() {
    this.lockStatus = false
  }
}

export const eventLock = new EventLock()
